package org.jeecg.modules.icms.customs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 分类明细
 * @Author: jeecg-boot
 * @Date:   2024-02-05
 * @Version: V1.0
 */
@Data
@TableName("icms_customs_detail")
@ApiModel(value="icms_customs_detail对象", description="分类明细")
public class IcmsCustomsDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**报关头id*/
	@Excel(name = "报关头id", width = 15)
    @ApiModelProperty(value = "报关头id")
    private String customsHeaderId;
	/**合同号*/
	@Excel(name = "合同号", width = 15)
    @ApiModelProperty(value = "合同号")
    private String contractNo;
	/**出口国家*/
	@Excel(name = "出口国家", width = 15)
    @ApiModelProperty(value = "出口国家")
    private String exportCountry;
	/**零件编码*/
	@Excel(name = "零件编码", width = 15)
    @ApiModelProperty(value = "零件编码")
    private String partNo;
	/**零件名称*/
	@Excel(name = "零件名称", width = 15)
    @ApiModelProperty(value = "零件名称")
    private String partName;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Double qty;
	/**总重量(KG)*/
	@Excel(name = "总重量(KG)", width = 15)
    @ApiModelProperty(value = "总重量(KG)")
    private Double totalWeight;
	/**体积(M³)*/
	@Excel(name = "体积(M³)", width = 15)
    @ApiModelProperty(value = "体积(M³)")
    private Double volume;
	/**总金额(元)*/
	@Excel(name = "总金额(元)", width = 15)
    @ApiModelProperty(value = "总金额(元)")
    private Double totalPrice;
	/**HS编码*/
	@Excel(name = "HS编码", width = 15)
    @ApiModelProperty(value = "HS编码")
    private String hsCode;
	/**HS描述*/
	@Excel(name = "HS描述", width = 15)
    @ApiModelProperty(value = "HS描述")
    private String hsDodeDesc;
	/**税率*/
	@Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
    private Double taxRate;
	/**法定单位*/
	@Excel(name = "法定单位", width = 15)
    @ApiModelProperty(value = "法定单位")
    private String legalUnit;
	/**父级节点*/
	@Excel(name = "父级节点", width = 15)
    @ApiModelProperty(value = "父级节点")
    private String pid;
	/**是否有子节点*/
	@Excel(name = "是否有子节点", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否有子节点")
    private String hasChild;
}
